package org.larkdoc.model.entity;

import java.io.Serializable;
import java.util.Date;
/**
 * 模块信息实体(对应数据库表)
 * 
 * @author  zhangpeijun[zhangpeijun1024@qq.com]
 * @version  [v1.0.1, 2017年10月17日]
 * @see  [相关类/方法]
 * @since  [产品/模块版本]
 */
public class ModelInfo implements Serializable {
    /**
     * id
     * Column : model_info.id
     *
     * @mbggenerated
     */
    private Integer id;

    /**
     * 模块名称
     * Column : model_info.name
     *
     * @mbggenerated
     */
    private String name;

    /**
     * 模块编码
     * Column : model_info.code
     *
     * @mbggenerated
     */
    private String code;

    /**
     * 模块标识
     * Column : model_info.model_flag
     *
     * @mbggenerated
     */
    private String modelFlag;

    /**
     * 菜单id-菜单ID
     * Column : model_info.menu_id
     *
     * @mbggenerated
     */
    private Integer menuId;

    /**
     * 父模块id-父模块ID
     * Column : model_info.parent_id
     *
     * @mbggenerated
     */
    private Integer parentId;

    /**
     * 模块层级
     * Column : model_info.level
     *
     * @mbggenerated
     */
    private Integer level;

    /**
     * URL-基于url做权限控制
     * Column : model_info.url
     *
     * @mbggenerated
     */
    private String url;

    /**
     * 支持的方法类型
     * Column : model_info.method_type
     *
     * @mbggenerated
     */
    private String methodType;

    /**
     * 权限值
     * Column : model_info.permissions
     *
     * @mbggenerated
     */
    private String permissions;

    /**
     * 数据状态-数据是否有效：0：无效,1：有效
     * Column : model_info.is_valid
     *
     * @mbggenerated
     */
    private Integer isValid;

    /**
     * 创建时间
     * Column : model_info.create_time
     *
     * @mbggenerated
     */
    private Date createTime;

    /**
     * 更新时间
     * Column : model_info.update_time
     *
     * @mbggenerated
     */
    private Date updateTime;

    /**
     * 备注信息
     * Column : model_info.remark
     *
     * @mbggenerated
     */
    private String remark;

    /**
     * 配置所属的应用系统
     * Column : model_info.app_system
     *
     * @mbggenerated
     */
    private String appSystem;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table model_info
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * Returns : id
     *
     * @return the value of model_info.id
     *
     * @mbggenerated
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets : id
     *
     * @param id the value for model_info.id
     *
     * @mbggenerated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * Returns : 模块名称
     *
     * @return the value of model_info.name
     *
     * @mbggenerated
     */
    public String getName() {
        return name;
    }

    /**
     * This method sets : 模块名称
     *
     * @param name the value for model_info.name
     *
     * @mbggenerated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * Returns : 模块编码
     *
     * @return the value of model_info.code
     *
     * @mbggenerated
     */
    public String getCode() {
        return code;
    }

    /**
     * This method sets : 模块编码
     *
     * @param code the value for model_info.code
     *
     * @mbggenerated
     */
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    /**
     * Returns : 模块标识
     *
     * @return the value of model_info.model_flag
     *
     * @mbggenerated
     */
    public String getModelFlag() {
        return modelFlag;
    }

    /**
     * This method sets : 模块标识
     *
     * @param modelFlag the value for model_info.model_flag
     *
     * @mbggenerated
     */
    public void setModelFlag(String modelFlag) {
        this.modelFlag = modelFlag == null ? null : modelFlag.trim();
    }

    /**
     * Returns : 菜单id-菜单ID
     *
     * @return the value of model_info.menu_id
     *
     * @mbggenerated
     */
    public Integer getMenuId() {
        return menuId;
    }

    /**
     * This method sets : 菜单id-菜单ID
     *
     * @param menuId the value for model_info.menu_id
     *
     * @mbggenerated
     */
    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    /**
     * Returns : 父模块id-父模块ID
     *
     * @return the value of model_info.parent_id
     *
     * @mbggenerated
     */
    public Integer getParentId() {
        return parentId;
    }

    /**
     * This method sets : 父模块id-父模块ID
     *
     * @param parentId the value for model_info.parent_id
     *
     * @mbggenerated
     */
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    /**
     * Returns : 模块层级
     *
     * @return the value of model_info.level
     *
     * @mbggenerated
     */
    public Integer getLevel() {
        return level;
    }

    /**
     * This method sets : 模块层级
     *
     * @param level the value for model_info.level
     *
     * @mbggenerated
     */
    public void setLevel(Integer level) {
        this.level = level;
    }

    /**
     * Returns : URL-基于url做权限控制
     *
     * @return the value of model_info.url
     *
     * @mbggenerated
     */
    public String getUrl() {
        return url;
    }

    /**
     * This method sets : URL-基于url做权限控制
     *
     * @param url the value for model_info.url
     *
     * @mbggenerated
     */
    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    /**
     * Returns : 支持的方法类型
     *
     * @return the value of model_info.method_type
     *
     * @mbggenerated
     */
    public String getMethodType() {
        return methodType;
    }

    /**
     * This method sets : 支持的方法类型
     *
     * @param methodType the value for model_info.method_type
     *
     * @mbggenerated
     */
    public void setMethodType(String methodType) {
        this.methodType = methodType == null ? null : methodType.trim();
    }

    /**
     * Returns : 权限值
     *
     * @return the value of model_info.permissions
     *
     * @mbggenerated
     */
    public String getPermissions() {
        return permissions;
    }

    /**
     * This method sets : 权限值
     *
     * @param permissions the value for model_info.permissions
     *
     * @mbggenerated
     */
    public void setPermissions(String permissions) {
        this.permissions = permissions == null ? null : permissions.trim();
    }

    /**
     * Returns : 数据状态-数据是否有效：0：无效,1：有效
     *
     * @return the value of model_info.is_valid
     *
     * @mbggenerated
     */
    public Integer getIsValid() {
        return isValid;
    }

    /**
     * This method sets : 数据状态-数据是否有效：0：无效,1：有效
     *
     * @param isValid the value for model_info.is_valid
     *
     * @mbggenerated
     */
    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    /**
     * Returns : 创建时间
     *
     * @return the value of model_info.create_time
     *
     * @mbggenerated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method sets : 创建时间
     *
     * @param createTime the value for model_info.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * Returns : 更新时间
     *
     * @return the value of model_info.update_time
     *
     * @mbggenerated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method sets : 更新时间
     *
     * @param updateTime the value for model_info.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * Returns : 备注信息
     *
     * @return the value of model_info.remark
     *
     * @mbggenerated
     */
    public String getRemark() {
        return remark;
    }

    /**
     * This method sets : 备注信息
     *
     * @param remark the value for model_info.remark
     *
     * @mbggenerated
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * Returns : 配置所属的应用系统
     *
     * @return the value of model_info.app_system
     *
     * @mbggenerated
     */
    public String getAppSystem() {
        return appSystem;
    }

    /**
     * This method sets : 配置所属的应用系统
     *
     * @param appSystem the value for model_info.app_system
     *
     * @mbggenerated
     */
    public void setAppSystem(String appSystem) {
        this.appSystem = appSystem == null ? null : appSystem.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table model_info
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", code=").append(code);
        sb.append(", modelFlag=").append(modelFlag);
        sb.append(", menuId=").append(menuId);
        sb.append(", parentId=").append(parentId);
        sb.append(", level=").append(level);
        sb.append(", url=").append(url);
        sb.append(", methodType=").append(methodType);
        sb.append(", permissions=").append(permissions);
        sb.append(", isValid=").append(isValid);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", remark=").append(remark);
        sb.append(", appSystem=").append(appSystem);
        sb.append("]");
        return sb.toString();
    }
}